<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>LCOV - ged.info - /usr/local/include/boost/throw_exception.hpp</title>
  <link rel="stylesheet" type="text/css" href="../../../../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LTP GCOV extension - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../../../../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
        <tr>
          <td class="headerItem" width="20%">Current&nbsp;view:</td>
          <td class="headerValue" width="80%" colspan=4><a href="../../../../index.html">directory</a> - <a href="index.html">usr/local/include/boost</a> - throw_exception.hpp</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Test:</td>
          <td class="headerValue" width="80%" colspan=4>ged.info</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Date:</td>
          <td class="headerValue" width="20%">2009-06-09</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Instrumented&nbsp;lines:</td>
          <td class="headerValue" width="20%">4</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Code&nbsp;covered:</td>
          <td class="headerValue" width="20%">0.0 %</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Executed&nbsp;lines:</td>
          <td class="headerValue" width="20%">0</td>
        </tr>
        </table>
      </td>
    </tr>
    <tr><td class="ruler"><img src="../../../../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td><pre class="source">
<span class="lineNum">       1 </span>                : #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
<span class="lineNum">       2 </span>                : #define BOOST_THROW_EXCEPTION_HPP_INCLUDED
<span class="lineNum">       3 </span>                : 
<span class="lineNum">       4 </span>                : // MS compatible compilers support #pragma once
<span class="lineNum">       5 </span>                : 
<span class="lineNum">       6 </span>                : #if defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1020)
<span class="lineNum">       7 </span>                : # pragma once
<span class="lineNum">       8 </span>                : #endif
<span class="lineNum">       9 </span>                : 
<span class="lineNum">      10 </span>                : //
<span class="lineNum">      11 </span>                : //  boost/throw_exception.hpp
<span class="lineNum">      12 </span>                : //
<span class="lineNum">      13 </span>                : //  Copyright (c) 2002 Peter Dimov and Multi Media Ltd.
<span class="lineNum">      14 </span>                : //  Copyright (c) 2008-2009 Emil Dotchevski and Reverge Studios, Inc.
<span class="lineNum">      15 </span>                : //
<span class="lineNum">      16 </span>                : //  Distributed under the Boost Software License, Version 1.0. (See
<span class="lineNum">      17 </span>                : //  accompanying file LICENSE_1_0.txt or copy at
<span class="lineNum">      18 </span>                : //  http://www.boost.org/LICENSE_1_0.txt)
<span class="lineNum">      19 </span>                : //
<span class="lineNum">      20 </span>                : //  http://www.boost.org/libs/utility/throw_exception.html
<span class="lineNum">      21 </span>                : //
<span class="lineNum">      22 </span>                : 
<span class="lineNum">      23 </span>                : #include &lt;boost/config.hpp&gt;
<span class="lineNum">      24 </span>                : #include &lt;boost/detail/workaround.hpp&gt;
<span class="lineNum">      25 </span>                : #include &lt;exception&gt;
<span class="lineNum">      26 </span>                : 
<span class="lineNum">      27 </span>                : #if !defined( BOOST_EXCEPTION_DISABLE ) &amp;&amp; defined( __BORLANDC__ ) &amp;&amp; BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x593) )
<span class="lineNum">      28 </span>                : # define BOOST_EXCEPTION_DISABLE
<span class="lineNum">      29 </span>                : #endif
<span class="lineNum">      30 </span>                : 
<span class="lineNum">      31 </span>                : #if !defined( BOOST_EXCEPTION_DISABLE ) &amp;&amp; defined( BOOST_MSVC ) &amp;&amp; BOOST_WORKAROUND( BOOST_MSVC, &lt; 1310 )
<span class="lineNum">      32 </span>                : # define BOOST_EXCEPTION_DISABLE
<span class="lineNum">      33 </span>                : #endif
<span class="lineNum">      34 </span>                : 
<span class="lineNum">      35 </span>                : #if !defined( BOOST_EXCEPTION_DISABLE )
<span class="lineNum">      36 </span>                : # include &lt;boost/exception/exception.hpp&gt;
<span class="lineNum">      37 </span>                : # include &lt;boost/current_function.hpp&gt;
<span class="lineNum">      38 </span>                : # define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(::boost::enable_error_info(x) &lt;&lt;\
<span class="lineNum">      39 </span>                :     ::boost::throw_function(BOOST_CURRENT_FUNCTION) &lt;&lt;\
<span class="lineNum">      40 </span>                :     ::boost::throw_file(__FILE__) &lt;&lt;\
<span class="lineNum">      41 </span>                :     ::boost::throw_line((int)__LINE__))
<span class="lineNum">      42 </span>                : #else
<span class="lineNum">      43 </span>                : # define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(x)
<span class="lineNum">      44 </span>                : #endif
<span class="lineNum">      45 </span>                : 
<span class="lineNum">      46 </span>                : namespace boost
<span class="lineNum">      47 </span>                : {
<span class="lineNum">      48 </span>                : 
<span class="lineNum">      49 </span>                : #ifdef BOOST_NO_EXCEPTIONS
<span class="lineNum">      50 </span>                : 
<span class="lineNum">      51 </span>                : void throw_exception( std::exception const &amp; e ); // user defined
<span class="lineNum">      52 </span>                : 
<span class="lineNum">      53 </span>                : #else
<span class="lineNum">      54 </span>                : 
<span class="lineNum">      55 </span><span class="lineNoCov">              0 : inline void throw_exception_assert_compatibility( std::exception const &amp; ) { }</span>
<span class="lineNum">      56 </span>                : 
<span class="lineNum">      57 </span><span class="lineNoCov">              0 : template&lt;class E&gt; inline void throw_exception( E const &amp; e )</span>
<span class="lineNum">      58 </span>                : {
<span class="lineNum">      59 </span>                :     //All boost exceptions are required to derive std::exception,
<span class="lineNum">      60 </span>                :     //to ensure compatibility with BOOST_NO_EXCEPTIONS.
<span class="lineNum">      61 </span><span class="lineNoCov">              0 :     throw_exception_assert_compatibility(e);</span>
<span class="lineNum">      62 </span>                : 
<span class="lineNum">      63 </span>                : #ifndef BOOST_EXCEPTION_DISABLE
<span class="lineNum">      64 </span><span class="lineNoCov">              0 :     throw enable_current_exception(enable_error_info(e));</span>
<span class="lineNum">      65 </span>                : #else
<span class="lineNum">      66 </span>                :     throw e;
<span class="lineNum">      67 </span>                : #endif
<span class="lineNum">      68 </span>                : }
<span class="lineNum">      69 </span>                : 
<span class="lineNum">      70 </span>                : #endif
<span class="lineNum">      71 </span>                : 
<span class="lineNum">      72 </span>                : } // namespace boost
<span class="lineNum">      73 </span>                : 
<span class="lineNum">      74 </span>                : #endif // #ifndef BOOST_THROW_EXCEPTION_HPP_INCLUDED
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
  <tr><td class="ruler"><img src="../../../../glass.png" width=3 height=3 alt=""></td></tr>
  <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LTP GCOV extension version 1.6</a></td></tr>
  </table>
  <br>

</body>
</html>
